package com.sinosoft;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * @author loujiang
 * @date 2020/12/24 10:31 下午
 * @NOTE:
 */

@SpringBootApplication
@EnableConfigServer
public class ConfigServerApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ConfigServerApplication.class).
                web(WebApplicationType.SERVLET)
                .run(args);
    }


    // http://localhost:60000/{lable}/{application}-{profile}.json
    //(.yml  .properties)

}
